package dbdto

import "time"


type SysRoleInfo struct {
	ID uint `json:"id" column:"id"` 
	CreatedAt time.Time `json:"created_at" column:"created_at"` 
	Name string `json:"name" column:"name"` 
	Sort uint `json:"sort" column:"sort"` 
	Description string `json:"description" column:"description"` 
	ParentId uint `json:"parent_id,omitempty" column:"parent_id"` 

}

type SysRoleCreate struct {
	Name string `json:"name" column:"name"` 
	Sort uint `json:"sort" column:"sort"` 
	Description string `json:"description" column:"description"` 
	ParentId uint `json:"parent_id,omitempty" column:"parent_id"` 

}
type SysRoleUpdate struct {
	ID uint `json:"id" column:"id"` 
	Name string `json:"name" column:"name"` 
	Sort uint `json:"sort" column:"sort"` 
	Description string `json:"description" column:"description"` 
	ParentId uint `json:"parent_id,omitempty" column:"parent_id"` 

}

type SysRoleDelete struct {
	ID []uint `json:"id" column:"id"` 

}
